package org.xg.study.pd;

import java.util.concurrent.TimeUnit;

/**
 * @author CMG
 * @version 1.0
 * @cLassName CacheService
 * @description
 * @date 2021/9/9 13:40
 **/
public interface CacheService {
    String get(final String key, int redisType);

    void set(String key, String value, int redisType);

    void set(String key, String value, long timeout, TimeUnit timeUnit, int redisType);

    void del(String key, int redisType);
}
